package com.yonyou.openapi.base.event;

import com.yonyou.openapi.base.auth.network.cryptor.EncryptionHolder;
import com.yonyou.openapi.base.event.pojo.Event;

import java.util.List;

/**
 * @author nishch
 * @description: TODO
 * @date 2023/8/2
 */
public interface ReceivedEventDispatcher {

    @SuppressWarnings("rawtypes")
    List<EventListener> findEventListens();

    void dispatch(Event event, String source, EncryptionHolder holder);
}
